package com.yuedou.api.entity.titlemenu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuedou.api.entity.mall.MallGroupProduct;
import com.yuedou.api.entity.platform.Coupons;
import com.yuedou.api.entity.product.Product;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "title_menu_section_links")
public class TitleMenuSectionLinks implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer sectionId;

    private String imgUrl;

    private Integer viewHeight;

    private Integer viewWidth;

    private String linkType;

    private String linkUrl;

    private Integer linkId;
    /**
     *  是否是切换菜单
     */
    private Integer isSwitchTab;

    private Integer maskType;

    private Integer sort;

    private Integer state;

    private String maskImg;

    private String labelText;

    /**
     *  显示文字
     */
    private String btnText;
    /**
     *  显示文字 样式
     */
    private String btnTextCss;


    /**
     * 是否开放该功能， 0 - 关闭 1 - 开启
     * 关闭时要提示未开放该权限
     */
    @TableField(exist = false)
    private Integer isOpen;



    @TableField(exist = false)
    private MallGroupProduct groupProduct;

    @TableField(exist = false)
    private Product product;

    @TableField(exist = false)
    private Coupons coupons;

    @TableField(exist = false)
    private String[] labelTexts;

}
